package com.blueheart.Test.util;

import java.lang.reflect.Type;
import java.util.ArrayList;
import java.util.List;

public class MainTest {

    public static void main(String[] args) {
        List<String> strArr  = new ArrayList<>();
        List<Integer> intArr  = new ArrayList<>();
        Type strClazz = strArr.getClass();
        System.out.println(strClazz.getTypeName());
        Type intClazz = intArr.getClass();
        System.out.println(intClazz.getTypeName());

    }

}
